package com.anyou.mall.goo.mapper;

import java.util.List;
import com.anyou.mall.goo.domain.GooCouponShop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 优惠券与汽配商关联Mapper接口
 * 
 * @author ruoyi
 * @date 2022-05-06
 */
public interface GooCouponShopMapper extends BaseMapper<GooCouponShop>
{
    /**
     * 查询优惠券与汽配商关联
     * 
     * @param id 优惠券与汽配商关联主键
     * @return 优惠券与汽配商关联
     */
    public GooCouponShop selectGooCouponShopById(Long id);

    /**
     * 查询优惠券与汽配商关联列表
     * 
     * @param gooCouponShop 优惠券与汽配商关联
     * @return 优惠券与汽配商关联集合
     */
    public List<GooCouponShop> selectGooCouponShopList(GooCouponShop gooCouponShop);

    /**
     * 新增优惠券与汽配商关联
     * 
     * @param gooCouponShop 优惠券与汽配商关联
     * @return 结果
     */
    public int insertGooCouponShop(GooCouponShop gooCouponShop);

    /**
     * 修改优惠券与汽配商关联
     * 
     * @param gooCouponShop 优惠券与汽配商关联
     * @return 结果
     */
    public int updateGooCouponShop(GooCouponShop gooCouponShop);

    /**
     * 删除优惠券与汽配商关联
     * 
     * @param id 优惠券与汽配商关联主键
     * @return 结果
     */
    public int deleteGooCouponShopById(Long id);

    /**
     * 批量删除优惠券与汽配商关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGooCouponShopByIds(Long[] ids);
}
